// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.util.list;

import java.util.Iterator;

public final class PZPrimitiveArrayIterable {
    public static Iterable<Float> fromArray(final float[] _float) {
        return new Iterable<Float>() {
            private final float[] m_list = _float;

            public Iterator<Float> iterator() {
                return new Iterator<Float>() {
                    private int pos = 0;

                    public boolean hasNext() {
                        return m_list.length > this.pos;
                    }

                    public Float next() {
                        return m_list[this.pos++];
                    }
                };
            }
        };
    }
}
